package com.winhxd.b2c.order.dao;

import com.winhxd.b2c.common.domain.order.condition.OrderDistributionListCondition;
import com.winhxd.b2c.common.domain.order.model.OrderConsigneeMessage;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface OrderConsigneeMessageMapper {
    int deleteByPrimaryKey(Long id);

    int insert(OrderConsigneeMessage record);

    int insertSelective(OrderConsigneeMessage record);

    OrderConsigneeMessage selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(OrderConsigneeMessage record);

    int updateByPrimaryKey(OrderConsigneeMessage record);

    OrderConsigneeMessage selectOrderConsigneeMessageByCondition(OrderDistributionListCondition condition);

    OrderConsigneeMessage selectByOrderNo(@Param("orderNo")String orderNo);

    OrderConsigneeMessage selectOrderConsigneeMessageByOrderNo(String orderNo);
}